import { EntitySchema } from '@mikro-orm/core';

export class ImsYzdKp {
  id!: number;
  content!: unknown;
  op?: string;
}

export const ImsYzdKpSchema = new EntitySchema({
  class: ImsYzdKp,
  properties: {
    id: { primary: true, type: 'number' },
    content: { type: 'unknown', columnType: 'longtext' },
    op: { type: 'string', length: 255, nullable: true },
  },
});
